package com.fanjia.crm.service.impl;

import com.fanjia.crm.mapper.CourseCategoryMapper;
import com.fanjia.crm.model.CourseCategory;
import com.fanjia.crm.service.ICourseCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by FanJia on 2020/9/19 21:25
 */
@Service
@Transactional
public class CourseCategoryServiceImpl implements ICourseCategoryService {

    @Autowired
    CourseCategoryMapper categoryMapper;

    @Override
    public List<CourseCategory> findAllList() {
        return categoryMapper.findAllList();
    }
}
